package io.renren.modules.security.config;

import java.util.LinkedHashMap;
import java.util.Map;

/**
 * TODO
 *
 * @author 40659
 * @since 2025/2/13 09:12
 */
public class ShiroFilterUtil {

    public static Map<String, String> getCommonFilterMap() {
        Map<String, String> filterMap = new LinkedHashMap<>();
        filterMap.put("/webjars/**", "anon");
        filterMap.put("/druid/**", "anon");
        filterMap.put("/swagger/**", "anon");
        filterMap.put("/v3/api-docs/**", "anon");
        filterMap.put("/doc.html", "anon");
        filterMap.put("/swagger-resources/**", "anon");
        filterMap.put("/favicon.ico", "anon");
        return filterMap;
    }
}
